package carson.web.mvc.demo.controllers.sub;

import carson.web.mvc.CarsonActionController;
import org.springframework.stereotype.Controller;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by prepa on 2017-04-09.
 */
@Controller
public class TestController extends CarsonActionController {
    public ModelAndView testView() {
        ModelAndView mv = new ModelAndView();
        mv.addObject("title", "Carson-Web-MVC演示");
        return mv;
    }
}
